from django.db import models

class User(models.Model):
    username=models.CharField(max_length=20)
    user_level=models.IntegerField()
    score=models.IntegerField()
    class Meta:
        db_table='user'

class Journalism(models.Model):
    title=models.CharField(max_length=20)
    content=models.TextField()
    class Meta:
        db_table='journalism'
